a {
    text-decoration: none;
}

.main-wrapper {
    position: absolute;
    top: 50px;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    background-color: #666;
}

.material-wrapper {
    position: fixed;
    z-index: 500;
    top: 50px;
    left: 0;
    bottom: 0;
    width: 60px;
    border-right: 1px solid #d3d3d3;
    overflow-y: auto;
    background-color: #fff;
}
.material-menu {
    width: 100%;
}
.material-menu-item {
    width: 100%;
    height: 60px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
}
.material-menu-item.active,
.material-menu-item:hover {
    color: #409eff;
}
.material-menu-item-icon {
    font-size: 20px;
    padding-top: 5px;
}
.material-menu-item-label {
    font-size: 12px;
    line-height: 22px;
}
.material-content {
    position: fixed;
    z-index: 500;
    top: 50px;
    left: 61px;
    bottom: 0;
    width: 280px;
    overflow-y: auto;
    background-color: #fff;
    box-shadow: 5px 0 5px #ccc;
}
/* image */
.material-content-image {
    position: absolute;
    top: 0;
    right: 5px;
    bottom: 5px;
    left: 5px;
}
.material-content-image-tab {
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #eee;
}
.material-content-image-tab-item {
    display: inline-block;
    padding: 0 10px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
}
.material-content-image-tab-item:hover {
    color: #000;
}
.material-content-image-list {
    position: absolute;
    top: 41px;
    bottom: 45px;
    width: 100%;
}

.material-content-image-item {
    position: relative;
    display: inline-block;
    width: 47%;
    height: 140px;
    margin-left: 2%;
    margin-bottom: 5px;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: 0 center;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}
.material-content-image-item:hover .material-content-image-item-button-wrapper {
    visibility: visible;
}
.material-content-image-item-button-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    background-color: rgba(0, 0, 0, .5);
    visibility: hidden;
    color: #fff;
}
.material-content-image-item-button {
    flex-grow: 1;
    font-size: 12px;
    text-align: center;
    height: 30px;
    line-height: 30px;
}

/* draw edit */
.material-edit-pop {
    position: fixed;
    z-index: 500;
    width: 240px;
    top: 50px;
    right: 0;
    bottom: 0;
    background-color: #fff;
    overflow-y: auto;
    box-shadow: -5px 0 5px #ccc;
}
.material-edit-fieldset {
    margin: 5px 5px;
}
.material-edit-fieldset-title {
    font-size: 14px;
    color: #666;
    padding: 10px 0;
    font-weight: bold;
}
.material-edit-delete-btn {
    width: 100%;
}

.paint-download {
    position: fixed;
    z-index: 500;
    right: 20px;
    bottom: 40px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 26px;
    text-align: center;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}
.paint-save {
    position: fixed;
    z-index: 500;
    right: 20px;
    bottom: 100px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 26px;
    text-align: center;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}


.material-content-text {
    padding: 20px 0;
}
.material-content-text-item {
    display: block;
    width: 90%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 5px;
    margin: 0 auto;
    font-size: 14px;
    cursor: pointer;
}
